netfilter: nft_ct: add notrack support
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Oct 2016 16:07:14 +0000 (18:07 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 12 Jun 2017 15:24:30 +0000 (15:24 +0000)
commit820615bb48fab767d305c288d626fcb5d0be7eec
tree9fbab64eab6c2812e7ebe9404f76276b7dc405f1
parent16c49927e73228e03baf0c9a5f654bc0b9616bf9
netfilter: nft_ct: add notrack support

This patch adds notrack support.

I decided to add a new expression, given that this doesn't fit into the
existing set operation. Notrack doesn't need a source register, and an
hypothetical NFT_CT_NOTRACK key makes no sense since matching the
untracked state is done through NFT_CT_STATE.

I'm placing this new notrack expression into nft_ct.c, I think a single
module is too much.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Gbp-Pq: Topic features/all
Gbp-Pq: Name netfilter-nft_ct-add-notrack-support.patch
net/netfilter/nft_ct.c